package com.hmall.search.service;

import com.hmall.common.dto.PageDTO;
import com.hmall.search.pojo.QuestParams;
import com.hmall.search.pojo.SearchItem;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface SearchService {
    List<String> getSuggestion(String completion) throws IOException;

    Map<String, List<String>> getFilters(QuestParams params) throws IOException;

    PageDTO<SearchItem> searchList(QuestParams params);
}
